﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PerceptiveMCAPI.Types
{
	public class templatesParms
	{
		public string apikey { get; set; }
		public return_types types { get; set; }
		public string category { get; set; }
		public return_inactives inactives { get; set; }
		//
		public templatesParms()
		{
			this.types = new return_types();
			this.inactives = new return_inactives();
			this.apikey = MCAPISettings.default_apikey;
		}
		//
		public templatesParms( string apikey, return_types types, string category, return_inactives inactives )
		{
			this.apikey = apikey;
			this.types = types;
			this.category = category;
			this.inactives = inactives;
		}
		// -------------------------------
		public class return_types
		{
			public bool user { get; set; }
			public bool gallery { get; set; }
			public bool @base { get; set; }
			//
			public return_types()
			{
				user = true;
				gallery = false;
				@base = false;
			}
			public return_types( bool user, bool gallery, bool @base )
			{
				this.user = user;
				this.gallery = gallery;
				this.@base = @base;
			}
		}
		public class return_inactives
		{
			public bool include { get; set; }
			public bool only { get; set; }
			//
			public return_inactives()
			{
				include = false;
				only = false;
			}
			public return_inactives( bool include, bool only )
			{
				this.include = include;
				this.only = only;
			}
		}
		// ------------------------------------------------------
	}
}
